package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.vo.NursingPlanVo;

import java.util.List;


public interface NursingPlanService {

    List<NursingPlanVo> queryAllPlan();

    void add(NursingPlanDto nursingPlanDto);

    /**
     * 护理计划条件分页查询
     * @param name
     * @param status
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageResponse<NursingPlanVo> getByPage(String name, Integer status, Integer pageNum, Integer pageSize);

    /**
     * 根据id查询护理项目
     * @param id
     * @return
     */
    NursingPlanVo queryById(Long id);

    /**
     * 修改护理计划
     * @param nursingPlanDto
     */
    void update(NursingPlanDto nursingPlanDto);

}
